set(SOURCES
    ../../shared/AnimationPath.cpp
    vsgscreenshot.cpp
)

add_executable(vsgscreenshot ${SOURCES})

target_link_libraries(vsgscreenshot vsg::vsg)

if (vsgXchange_FOUND)
    target_compile_definitions(vsgscreenshot PRIVATE vsgXchange_FOUND)
    target_link_libraries(vsgscreenshot vsgXchange::vsgXchange)
endif()

install(TARGETS vsgscreenshot RUNTIME DESTINATION bin)
